const axios = require("axios");

const codeEnum = {
  SUCCESS: 200,
  ERROR: 500,
  PARAM_ERROR: 400,
};

function genResp(code,message,data) {
  return {
    code:code,
    message: message,
    data:data
  }
}

module.exports = {
  genResp: genResp,
  codeEnum
};